//
//  TimePickerView.m
//  WolfShoes
//
//  Created by Fidetro on 16/9/28.
//  Copyright © 2016年 Dtston. All rights reserved.
//

#import "TimePickerView.h"

@implementation TimePickerView
- (instancetype)initWithCoder:(NSCoder *)aDecoder{
    self = [super initWithCoder:aDecoder];

    if (self) {
        NSMutableArray *hourArray = [NSMutableArray array];
        NSMutableArray *minArray = [NSMutableArray array];
        for (int i = 0; i <= 23; i++) {
            [hourArray addObject:[NSString stringWithFormat:@"%d",i]];
        }
        for (int i = 0; i <= 59; i++) {
            [minArray addObject:[NSString stringWithFormat:@"%d",i]];
        }
    self.dataArray = @[hourArray,minArray];
        self.delegate = self;
        self.dataSource = self;
    }
    return self;
}
@end
